﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Xyz.Web.Reservation.CustomerService;


namespace Xyz.Web.Reservation.Repositories 
{
    public class CustomerRepository :BaseRepository
    {
        public void CreateCustomer(CustomerDTO customer)
        {


            CustomerServiceClient.CreateCustomer(customer);
        }

        public void UpdateCustomer(CustomerDTO customer)
        {

            CustomerServiceClient.UpdateCustomer(customer);
        }

        public static int GetMemberPoints(int customerId)
        {


            return CustomerServiceClient.GetMemberPoints(customerId);
        }

        public void AddMemberPoints(int customerId, int points)
        {


            CustomerServiceClient.AddMemberPoints(customerId, points);
        }
    }
}